package com.supersoul.myself.enums;


import lombok.Data;
import lombok.Getter;

@Getter
public enum ServiceEnum {

    /***************认证授权*******************/
    VALID_CODE_EROOR(10001, "登录失败, 验证码错误"),
    ALREADY_COLLECT_ERROR(10002, "您已收藏过!博客已经在您的列表中"),
    BLOG_NOTEXISTS_ERROR(10003, "博客不存在!!")
    ;

    private int code;
    private String desc;

    ServiceEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
